Keycloak REST Services 1.5.0-Final

Path: / admin / realms / {realm} / users / {id} / role-mappings / realm / available

Realm-level roles that can be mapped to this user

Path parameters:
realm - realm name (not id!)
id -

Resource Methods
Method Summary
NameDescription
GET /admin/realms/{realm}/users/{id}/role-mappings/realm/availableRealm-level roles that can be mapped to this user

Method Detail

GET /admin/realms/{realm}/users/{id}/role-mappings/realm/available

Realm-level roles that can be mapped to this user

HTTP Example:
GET /admin/realms/{realm}/users/{id}/role-mappings/realm/available
API Example:

UsersResource.getAvailableRealmRoleMappings({'realm': /* name realm name (not id!) */,
  'id': /* id */});

Output:
List<RoleRepresentation> -
Produces:
application/json

Keycloak REST Services 1.5.0-Final